#include"../mqserver/mq_broker.hpp"

int main(int argc,char* argv[]){
    if (argc > 1)
  {
    uint16_t port = static_cast<uint16_t>(atoi(argv[1]));
    mq::BrokerServer server(port,"./data/");
    server.start();
  }
  else
  {
    printf("Usage: %s port\n", argv[0]);
  }
    return 0;
}
